package com.hr.mes.mapper;

import com.hr.mes.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper {

    void addPermission(Permission permission);

    void deletePermission(Integer permissionId);

    void updatePermission(Permission permission);

    List<Permission> getPermissionList();

    Permission getPermission(Integer permissionId);

}
